# Maintainer: Dekedro <dekedro@tankers.xyz>
pkgname=hydroxide
pkgver=0.2.15
pkgrel=0
pkgdesc="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
url="https://github.com/emersion/hydroxide"
arch="all !mips !mips64" # blocked by go
license="MIT"
makedepends="go"
options="!check" # no tests
source="https://github.com/emersion/hydroxide/releases/download/v$pkgver/hydroxide-$pkgver.tar.gz"

build() {
	go build ./cmd/hydroxide
}

package() {
	install -Dm755 "$builddir"/hydroxide "$pkgdir"/usr/bin/hydroxide
}

sha512sums="1796043d8c2c47ca7c86f1830641913d6a05d2137139506c291236f46ded137759e640a9ddde09daadfe95082f493dc8b3785199e8bda347eb3504f2c57f52ba  hydroxide-0.2.15.tar.gz"
